package com.zzl.finance.data.dto.feign;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 银行账户表
 *
 * @author hyt
 */
@Data
@ApidocModel
public class BankAccountFeignAddDto {
    @ApidocModelProperty(description = "对公账户")
    @NotEmpty(message = "对公账户不能为空")
    private String corporateAccount;

    @ApidocModelProperty(description = "开户行全称")
    @NotEmpty(message = "开户行全称不能为空")
    private String fullNameOpeningBank;

    @ApidocModelProperty(description = "开户网点")
    @NotEmpty(message = "开户网点不能为空")
    private String accountOpeningOutlet;

    @ApidocModelProperty(description = "地区code")
    @NotEmpty(message = "地区code不能为空")
    private String areaId;

    @ApidocModelProperty(description = "账户类型 0基本户1一般户2专用3临时")
    @NotNull(message = "账户类型不能为空")
    private Integer accountType;

    @ApidocModelProperty(description = "开户行所在省")
    @NotEmpty(message = "开户行所在省不能为空")
    private String province;

    @ApidocModelProperty(description = "开户行所在市")
    @NotEmpty(message = "开户行所在市不能为空")
    private String city;

    @ApidocModelProperty(description = "备注")
    private String remark;

    @ApidocModelProperty(description = "所属企业id")
    @NotNull(message = "所属企业id不能为空")
    private String enterpriseId;

    @ApidocModelProperty(description = "启用状态 0停用 1启用")
    @NotNull(message = "启用状态不能为空")
    private boolean stopState;
    @ApidocModelProperty(description = "所属企业id")
    private Integer orgId;
    @ApidocModelProperty(description = "所属企业id")
    private Integer creatorId;
    @ApidocModelProperty(description = "所属企业id")
    private Date updateTime;
    @ApidocModelProperty(description = "所属企业id")
    private Integer updaterId;
    @ApidocModelProperty(description = "所属企业id")
    private Integer enterpriseCategory;

}